package oc.tm.sg.core;

import java.util.regex.Pattern;

public class Constants {
	
	public static final String DEFAULT_ENCODING 	 = "UTF-8";
	
	public static final String  BACKUP_KEY           = "backup";
	public static final Pattern COMMA_SPLIT_PATTERN  = Pattern.compile("\\s*[,]+\\s*");
	public static final String  DEFAULT_KEY_PREFIX   = "default.";
	
	public static final String  ANYHOST_KEY          = "anyhost";
	public static final String  ANYHOST_VALUE        = "0.0.0.0";
	public static final Integer ANYPORT_VALUE        = 0;
	
	public static final String  LOCALHOST_KEY        = "localhost";
    public static final String  LOCALHOST_VALUE      = "127.0.0.1";
    
    public static final String  GROUP_KEY            = "group";
    public static final String  VERSION_KEY          = "version";
    public static final String  INTERFACE_KEY        = "interface";
    
    public static final String  COMMA            	 = ",";
    
    public static final String  PROVIDER			 ="provider";
    public static final String  CONSUMER			 ="consumer";

	public static final String HOSTNAME = "hostname";
	public static final String IP = "ip";
	public static final String PID = "pid";
	public static final String SERVICE = "service";
	public static final String METHOD = "method";
	
	public static final String DEFAULT_PROTOCOL 	 = "govern";
	public static final String DEFAULT_VERSION 	 = "1.0.0";

	public static final String ORGANIZATION_KEY = "organization";

	public static final String OWNER_KEY = "owner";

	public static final String STAT_KEY = "stat";

	public static final String TITLE_KEY = "title";
	public static final String MSG_KEY = "msg";
	
}
